﻿using AdminStystem.Domain;
using AdminSytem.Application.Dto;
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AdminSytem.Application
{
    public class MappingProfile:Profile
    {
        public MappingProfile()
        {
            CreateMap<InsertTraceabilityDto, Traceability>();
            CreateMap<UpdateTraceabilityDto, Traceability>();
            CreateMap<CultivationDto, Cultivation>();
            CreateMap<EnterpriseDto, Enterprise>();
            CreateMap<SlaughterDto, Slaughter>();
            CreateMap<ProcessingrDto, Processingr>();
            CreateMap<PEnterpriseDto, PEnterprise>();
            CreateMap<RawMaterialDto, RawMaterial>();
            CreateMap<AccessoriesDto, Accessories>();
            CreateMap<AdditiveDto, Additive>();
            CreateMap<PackagingMaterialsDto, PackagingMaterials>();
            CreateMap<SEnterpriseDto, SEnterprise>();
        }
    }
}
